<?php 
    /*$K_TRANS = Translation::getInstance();
    $KARM = $_SESSION[K_SESSION_MNG]["KARM"];*/
	$Z_USER = Zsession::getUserFromSession();
    echo doctype();
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?=$z_page_title?></title>
<meta http-equiv="Content-type" content="text/html; charset=<?=CHAR_SET?>" />
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
<link type="text/css" rel="stylesheet" href="<?=base_url()?>css/style.css" />
</head>
<script language="javascript">
	function cmdsearch(){
		
	  var neighborhood=document.getElementById('neighborhood').value;
	  var specify=document.getElementById('specify').value;
	  var radioSearchType1=document.getElementById('radioSearchType1').value;
	  var radioSearchType2=document.getElementById('radioSearchType2').value;
	  var chkOpnHome=document.getElementById('chkOpnHome').value;
	  var searchType=document.getElementById('searchType').value;
	  var minprice=document.getElementById('minprice').value;
	  var maxprice=document.getElementById('maxprice').value;
	  
	  if (neighborhood==""){neighborhood="";}
	  if (neighborhood!="" || specify!="" ){window.location="<?=site_url("property/search/?q=");?>"+neighborhood+"&loc="+specify+"&type="+searchType+"&min="+minprice+"&max="+maxprice; return true;}
	   else {return false;}
	   //document.forms[0].action='<?//=site_url("admin/authentication")?>';
	   //document.forms[0].submit();
	}
</script>
<body>
<div class="container">
   <div class="header"><?php include APPPATH."views/templates/common/user_header.php"; ?></div>
   <div class="body"><?php include APPPATH."views/".$z_main_body_view.".php"; ?></div>
   <div class="push_footer">&nbsp;</div>
</div>
<div id="footer">
	<?php include APPPATH."views/templates/common/footer.php";?>
</div>
</body>
</html>
